package com.yang.springcloud.dao;

import com.yang.springcloud.pojo.Student;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

public interface StudentDao {

    public Map<String, Object> addStudent(Student s);

    public Map<String, Object> delereStudent(String name);

    public Map<String, Object> updateStudent(Student s);

    public List<Student> queryAll();

    public Student queryById(String passid);
}
